import cv2
import numpy as np
from skimage import io

img = cv2.imread('1.jpg')

print(img.flatten())


img2 =  io.imread('1.jpg')

print(img2.flatten())